package com.onefish.toolkit;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.management.ManagementFactory;


public class ly {
    public static void main(String[] args) {
        String processId = ManagementFactory.getRuntimeMXBean().getName().split("@")[0];
		System.out.println("重启前的springboot进程id:" + processId);
    }
}
